package com.thlws.java.jdk8.methodReference.entity;

/**
 * @author HanleyTang
 * @date 2018-11-22
 */
public class MyStrImpl {


    public String strReverse(String str) {
        String result = "";
        for (int i = str.length() - 1; i >= 0; i--) {
            result += str.charAt(i);
        }
        return result;
    }

}
